class CreateSalidaMaterialDetalles < ActiveRecord::Migration
  def self.up
    create_table :salida_material_detalles do |t|
      t.column :salida_material_id, :integer
      t.column :clave, :string
      t.column :descripcion, :string
      t.column :cantidad, :integer
      t.column :precio, :decimal, :precision => 12, :scale => 2
      
    end
  end

  def self.down
    drop_table :salida_material_detalles
  end
end
